
<div id="header">
    <div class="hd rel current container">
        <div class="navbar-header">
            <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#topmenu">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="index.html" class="hd_logo" style="margin-top: 28px;"><img src="__HOME__/images/logo.png" class="img-responsive m15"></a>
        </div>
        <div class="hd-nv clear collapse navbar-collapse" id="topmenu">
            <ul class="nv clear">
                <li>
                    <a href="{:U('Index/index')}">首页</a>
                </li>
                <li>
                    <a href="{:U('Live/ggkLive')}">公开课直播</a>
                </li>
                <li>
                    <a href="{:U('School/school')}" class="dropdown-toggle toggle">名企学堂</a>
                </li>
                <li>
                    <a href="{:U('Drschool/DrSchool')}" class="dropdown-toggle toggle">Dr学院</a>
                </li>
            </ul>
            <div class="search">
                <input type="text" placeholder="搜索课程"/><button>搜索</button>
            </div>
            <if condition="session('user_name') eq '' ">
            <div class="login"><a href="{:U('Index/login')}">登录</a> | <a href="{:U('Index/zc')}">注册</a></div>
            <else />
            <div class="login"><a href="javascript:;">{$_SESSION.user_name}</a></div>
            </if>
        </div>
    </div>
</div>